package com.whut.model;

import java.util.Objects;

public class Word2VecResult {
    private int number;
    private int preNum;
    private int nodeDepth;
    private String parameterName;
    private String isDeprecated;

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getPreNum() {
        return preNum;
    }

    public void setPreNum(int preNum) {
        this.preNum = preNum;
    }

    public int getNodeDepth() {
        return nodeDepth;
    }

    public void setNodeDepth(int nodeDepth) {
        this.nodeDepth = nodeDepth;
    }

    public String getParameterName() {
        return parameterName;
    }

    public void setParameterName(String parameterName) {
        this.parameterName = parameterName;
    }

    public String getIsDeprecated() {
        return isDeprecated;
    }

    public void setIsDeprecated(String isDeprecated) {
        this.isDeprecated = isDeprecated;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Word2VecResult)) return false;
        Word2VecResult that = (Word2VecResult) o;
        return getIsDeprecated().equals(that.getIsDeprecated());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getIsDeprecated());
    }
}
